-- GENERATED SPELL FOR [Earthen Elite] --


function spell0_29980(pUnit, Event) --@Torn Earth,n/a--
pUnit:FullCastSpellOnTarget(55715,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29980', 2000, 1)
end

function Sorts_29980(pUnit, Event)
local choix_sorts_29980 = math.random(0, 0)
if choix_sorts_29980 == 0 then
pUnit:RegisterEvent('spell0_29980', 1, 1)
end
end

function mob29980_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29980', math.random(1500, 3000), 1)
end

function mob29980_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29980_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29980_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29980, 1, 'mob29980_Action')
RegisterUnitEvent(29980, 2, 'mob29980_Leave')
RegisterUnitEvent(29980, 3, 'mob29980_Kill')
RegisterUnitEvent(29980, 4, 'mob29980_Die')
